package cn.aliang.cloud.service.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: chendongliang
 * @Date: 2020/7/20 16:14
 */


@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResultMessage<T> {

    private Integer code ;

    private String message ;

    private T data ;

    public ResultMessage(Integer code ,String message){
        this(code,message,null);
    }


}
